factorial

Returns a cached factorial value.

double
factorial
@safe nothrow
(
size_t n
)
in { assert (n >= 0); assert (n < factorialLookupTable.length); }

Parameters

n
Type: size_t

How many times to recurse

Return Value

Type: double

A cached value of factorial between 0 and 32 recursion.

Meta